package homeWork.SOC4.mission_1;

public class Manager extends Empoyee{

    private String job_Title;

    public Manager() {
    }

    public Manager(String name,int age,String address,int sarry,String workDate,String job_Title) {
        super(name,age,address,sarry,workDate);
        this.job_Title = job_Title;
    }

    public String toString(){
        return "管理员admin的信息如下:" + "\n" +
                "姓名: " + name + " " +
                "年龄: " + age + " " +
                "薪水: " + sarry + " " +
                "受聘日期: " + workDate + " " +
                "家庭住址: " + address + " " +
                "职务名称为: " + job_Title;

    }
}
